Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPersistentObject


ReleaseAll

The ReleaseAll method releases all transitory references from this persistent object to other reference-counted objects.

void ReleaseAll ();
DISCUSSION
The factory object that creates each persistent object calls that object's ReleaseAll method before deleting it.

OVERRIDING
Every subclass of ODPersistentObject overrides this method if its objects maintain references to other persistent objects. The override method must call its inherited ReleaseAll method at the end of its implementation.

SEE ALSO
The ODPart class (page 459).
"The ReleaseAll Method" on page 114 in OpenDoc Cookbook.
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"The ReleaseAll Method" on page 306 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help